package entity

import "github.com/gogf/gf/v2/os/gtime"

type User struct {
	ID          *string     `json:"id,omitempty" dc:"用户ID"`
	UserName    *string     `json:"userName,omitempty" dc:"用户名"`
	RealName    *string     `json:"realName,omitempty" dc:"姓名"`
	NickName    *string     `json:"nickName,omitempty" dc:"昵称"`
	Avatar      *string     `json:"avatar,omitempty" dc:"用户头像"`
	Password    *string     `json:"password,omitempty" dc:"用户密码"`
	Salt        *string     `json:"salt,omitempty" dc:"密码加盐"`
	MobilePhone *string     `json:"mobilePhone,omitempty" dc:"手机号"`
	Tel         *string     `json:"tel,omitempty" dc:"联系电话"`
	Email       *string     `json:"email,omitempty" dc:"邮箱"`
	AdminType   *int        `json:"adminType,omitempty" dc:"管理员类型"`
	Sex         *int        `json:"sex,omitempty" dc:"性别"`
	IsLocked    *int        `json:"isLocked,omitempty" dc:"是否锁定"`
	DeptId      *string     `json:"deptId,omitempty" dc:"所属部门"`
	PostId      *string     `json:"postId,omitempty" dc:"所属岗位"`
	Remark      *string     `json:"remark,omitempty" dc:"备注"`
	CreateTime  *gtime.Time `json:"createTime,omitempty" dc:"创建时间"`
	CreateUser  *string     `json:"createUser,omitempty" dc:"创建用户"`
	UpdateTime  *gtime.Time `json:"updateTime,omitempty" dc:"更新时间"`
	UpdateUser  string      `json:"updateUser,omitempty" dc:"更新用户"`
	IsDeleted   *int        `json:"isDeleted,omitempty" dc:"是否删除"`
}
